<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Welcome extends MY_Controller {
	function __construct() {
		parent::__construct();
		$this->load->model('model_product');
	}
	function index()
	{
		$this->data['content_id'] = 'home-content';
		$this->data['products'] = $this->model_product->get_home_highlight();
		$this->render('welcome_tpl');
	}
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */